<div style="clear: both;"></div>
<? foreach ($submenu[0] as $key => $value): ?>
	<div class="popup_menu" style="float: left">
		<? if ($item_id == $value->id): ?>
			<div class="active_black"><span></span><?= $value->title ?></div>
		<? else: ?>
			<div><a href="<?= URL::site($submenu[1].'/'.$value->id) ?>" class="black_link"><?= $value->title ?></a></div>
		<? endif ?>
	</div>
<? endforeach ?>